package com.teamb6.shop.service;

import com.teamb6.shop.domain.*;

import java.util.List;

public interface IndentService {
    //查询未发货订单信息
    SearchIndentResponse searchIndent(Integer pageNum,Integer pageSize);
     List<Indent> findIsendIndent();
    //根据订单id删除订单
    void delectIndentById (Integer indentid);
    //未发货订单商品信息
    SearchIndentResponse findgoods(Integer pageNum,Integer pageSize);
    //修改发货信息
    int uodateIssent(Integer id);

    //查询未收货订单信息
    SearchIndentResponse searchIndent1(Integer pageNum,Integer pageSize);
    //未收货订单商品信息
    SearchIndentResponse findgoods1(Integer pageNum,Integer pageSize);

    //查询用户订单
    List<Indent> selectIndentByExample(IndentExample example);
    List<OrderItem> getOrderItemByExample(OrderItemExample orderItemExample);

    void insertIndent(Indent order);

    void insertOrderItem(OrderItem orderItem);

    //根据订单id查询订单
    Indent selectByPrimaryKey(Integer orderid);

    //更新订单信息
    void updateIndentByKey(Indent indent);

    void delectOrderItemByOrderid(Integer orderid);
}
